<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>DELETE请求</title>
	</head>
	<body>
		 <h1>前后端调用-DELETE请求测试</h1>
		 <script src="../js/axios.js"></script>
		 <script>
		 
			/* DELETE测试1:
			   需求: 删除ID=232的数据
			 */
			let url = "http://localhost:8090/axios/deleteById?id=232"
			axios.delete(url)
				 .then( promise => {
					 console.log(promise.data)
				 })
			
		 </script>
	</body>
</html>
